package com.kob.backend.service.car;

import com.aliyuncs.exceptions.ClientException;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kob.backend.pojo.Car;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.net.MalformedURLException;
import java.util.Map;

public interface CarService extends IService<Car> {

    String doPost(String host, int port, String path, Map<String, String> params) throws MalformedURLException;

    boolean changeEnergy(Integer id, String offset);

    String getEnergyById(Integer id);
    String getMoneyById(Integer id);
    void readEnergy(String id) throws ClientException, IOException;



}
